Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix support for custom visualizations #1951

Conversation

ajchili
Copy link
Member

@ajchili ajchili commented Aug 26, 2019

  • Arguments no longer require a source if the type is specified to be custom
  • If no source is provided for a custom visualization, it will no longer be provided to the Python service

This change is Reviewable

* Arguments no longer require a source if the type is specified to be custom
* If no source is provided for a custom visualization, it will no longer be provided to the Python service
@ajchili
Copy link
Member Author

ajchili commented Aug 26, 2019

/assign @IronPan

@ajchili
Copy link
Member Author

ajchili commented Aug 26, 2019

/hold
Needs Python fix as well.

@ajchili ajchili changed the title Fixed API support for custom visualizations Fix support for custom visualizations Aug 26, 2019
@ajchili
Copy link
Member Author

ajchili commented Aug 26, 2019

/hold cancel

Arguments are no longer manually converted to command line arguments to be passed to the Python service. Instead, they are converted to x-www-form-urlencoded arguments which is sent to the Python service and then converted to a dictionary by the Python service.
ajchili added a commit to ajchili/pipelines that referenced this pull request Aug 27, 2019
kubeflow#1951 changes how arguments are passed from the API server to the Python service. This now allows for multi-line comment support.
@ajchili
Copy link
Member Author

ajchili commented Aug 27, 2019

/retest

Copy link
Contributor

@neuromage neuromage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Thanks, this looks great!

@ajchili
Copy link
Member Author

ajchili commented Aug 28, 2019

/test kubeflow-pipeline-sample-test

@IronPan
Copy link
Member

IronPan commented Aug 28, 2019

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: IronPan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@IronPan
Copy link
Member

IronPan commented Aug 28, 2019

/test kubeflow-pipeline-sample-test

@k8s-ci-robot k8s-ci-robot merged commit bd7eb77 into kubeflow:master Aug 28, 2019
ajchili added a commit to ajchili/pipelines that referenced this pull request Aug 28, 2019
* Change how arguments are checked and provided for Python service

* Arguments no longer require a source if the type is specified to be custom
* If no source is provided for a custom visualization, it will no longer be provided to the Python service

* Added unit test to test that an empty source can be provided alongside custom visualizations

* Added support for custom code to be used to generate visualizations within Python service

* Added unit tests to cover support of custom visualizations

* Fixed logic that handles source addition and validation in API

* Formatted visualization_server_test.go

* Moved self.maxDiff to setup function

* Removed unused import

* Simplified how arguments are passed from API to Python service

Arguments are no longer manually converted to command line arguments to be passed to the Python service. Instead, they are converted to x-www-form-urlencoded arguments which is sent to the Python service and then converted to a dictionary by the Python service.

* Made @staticmethods private functions
ajchili added a commit to ajchili/pipelines that referenced this pull request Aug 29, 2019
kubeflow#1951 changes how arguments are passed from the API server to the Python service. This now allows for multi-line comment support.
k8s-ci-robot pushed a commit that referenced this pull request Aug 30, 2019
* Added developer_guide.md for Python based visualizations

* Changed md file name to be README and added link to documentation page

* Updated README.md to match syntax of #1878

* Added architecture and known limitations sections to documentation

* Addressed PR comments

* Address offline feedback from @SinaChavoshi

* Removed limitation

#1951 changes how arguments are passed from the API server to the Python service. This now allows for multi-line comment support.

* Addressed PR comments
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
* Rename KF prefixed classes

Signed-off-by: Mark Winter <mark.winter@navercorp.com>

* Update model servers

Signed-off-by: Mark Winter <mark.winter@navercorp.com>

* Missed renaming

Signed-off-by: Mark Winter <mark.winter@navercorp.com>

* Missed renaming

Signed-off-by: Mark Winter <mark.winter@navercorp.com>

* Fix merge

Signed-off-by: Mark Winter <mark.winter@navercorp.com>

* Fix merge

Signed-off-by: Mark Winter <mark.winter@navercorp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants